package com.fz.service;

import com.fz.entity.CateStore;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 存储门店和商品关系信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface CateStoreService extends IService<CateStore> {
    @Transactional
    boolean save(Long storesId, Long[] menuIds, Long[] btnIds);

    List<CateStore> getByStoresId(Long storesId);

    List<CateStore> getList();
}
